package com.xyoto.community.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * Author: 廖振辉
 * Date: 2021/11/17
 * Description: 删除每日金句dto
 */
@Data
@ApiModel("删除每日金句dto")
public class DeleteProverbDTO {

    @ApiModelProperty("金句id")
    @NotNull(message = "金句id不可为空")
    @Min(value = 1,message = "非法的金句id")
    private Integer id;

}
